package furnitures 
{
	import core.IDisposable;
	/**
	 * ...
	 * @author Dmitriy Gaiduk
	 */
	public class SideInfo implements IDisposable
	{
		/**
		 * Array if points for make texture [[line], [curve]]. 
		 * Line {x,y} = [0][1], curve {x,y,x,y} = [0][1][2][3] 
		 */
		public var textureShape:Array;
		public var type:String;
		public static const SIDE_TYPE_FACE:String = "SIDE_TYPE_FACE";
		public static const SIDE_TYPE_TABLETOP:String = "SIDE_TYPE_TABLETOP";
		public static const SIDE_TYPE_CORPUS:String = "SIDE_TYPE_CORPUS";
		public static const SIDE_TYPE_CORPUS_TOP:String = "SIDE_TYPE_CORPUS_TOP";
		
		public static const CORPUS_FACE:String = "CORPUS_FACE";
		public static const FACADE_FACE:String = "FACADE_FACE";
		public static const TABLETOP_FACE:String = "TABLETOP_FACE";
		
		public var width:Number=1;
		public var height:Number=1;
		
		public var face:FurnitureFace = null;
		public var index:int;
		
		public function SideInfo() 
		{
			
		}
		
		/* INTERFACE core.IDisposable */
		
		public function dispose():void 
		{
			textureShape == null;
		}
		
	}

}